package com.ylx.code.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ylx.code.bo.ConnectMarkBo;
import com.ylx.code.bo.MarkListBo;
import com.ylx.code.bo.NewScanRecordBo;
import com.ylx.code.bo.RecordListBo;
import com.ylx.code.model.MarkInfo;
import com.ylx.code.vo.MarkScanRecordVo;
import com.ylx.code.vo.MarkVo;

/**
 * 商户表接口
 * @author yanglixin
 * date    2023-10-17 16:36:07
 */
public interface MarkInfoService extends IService<MarkInfo> {

    MarkVo createCode();

    MarkVo connectMark(ConnectMarkBo bo);

    MarkVo markInfo(Long id);

    Page<MarkVo> markList(MarkListBo bo);

    void deleteMark(Long id);

    MarkScanRecordVo newScanRecord(NewScanRecordBo bo);

    Page<MarkScanRecordVo> scanRecordList(RecordListBo bo);

    MarkInfo getByName(String markName, Long id);

    void deleteRecord(Long id);
}